﻿//Created by Action Script Viewer - http://www.buraks.com/asv
package net.wooga.pets.views.popups.stolengem {
    import reprise.ui.*;
    import net.wooga.pets.views.popups.*;
    import net.wooga.pets.utils.*;

    public class StolenGemPopupView extends AbstractPopupView {

        private var _messages:UIComponent;

        override protected function initialize():void{
            cssID = "stolenGemPopup";
            super.initialize();
        }
        override protected function createChildren():void{
            super.createChildren();
            this._messages = RepriseUtils.addComponent(this, "messages myriadProFont");
        }
        public function addMessage(_arg1:String, _arg2:String, _arg3:String):StolenGemMessage{
            var _local4:StolenGemMessage = (RepriseUtils.addComponent(this._messages, "message", StolenGemMessage) as StolenGemMessage);
            RepriseUtils.addClipComponent(_local4, "icon", AssetsLibrary.getMovieClip(_arg1));
            RepriseUtils.addLabel(_local4, "messageText", _arg2);
            _local4.addButton(_arg3);
            return (_local4);
        }

    }
}//package net.wooga.pets.views.popups.stolengem 
